<script>
	export default {
		onLaunch: function() {
			console.log('App Launch')
			uni.hideTabBar()
			//#ifdef APP
			uni.getSystemInfo({//获取手机状态栏高度
				success:res=>{
					this.$store.commit('getTabHeight',res.statusBarHeight)
				}
			})
			//#endif
		},
		onShow: function() {
			// #ifdef APP
			this.$store.commit('getLoginImg')
			// #endif
			console.log('App Show')
		},
		onHide: function() {
			console.log('App Hide')
		},
		watch:{ 
			$route(e){} 
		} 
	}
</script>

<style lang="scss">
	/*每个页面公共css */
	@import "uview-ui/index.scss";
	@import './static/iconfont/iconfont.css';
	p{
		word-wrap: break-word;
	}
	img{
		max-width: 100%;
	}
	.head-nav{
		width: 100%;
		height: var(--status-bar-height);
	}
</style>
 